

#ifndef _C_STOP_WATCH_H_
#define _C_STOP_WATCH_H_

#include <Windows.h>

class CStopWatch
{
private:
	double		m_dElapsedTime; // stored time
	bool		m_bIsRunning;
	LONGLONG	m_llStartTick;
	LONGLONG	m_llFrequency; // how many ticks per second

public:
	CStopWatch(void);

	//stop watch functions
	void Start(void);
	void Stop(void);
	void Reset(void);

	double GetElapsedTime(void);
};

#endif // _C_STOP_WATCH_H_